package com.xxxtea;

import cn.hutool.core.net.NetUtil;
import com.dtflys.forest.springboot.annotation.ForestScan;
import com.xxxtea.common.Constants;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync
@EnableScheduling
@SpringBootApplication
@MapperScan(Constants.BASE_PACKAGE + ".mapper")
@ForestScan(basePackages = Constants.BASE_PACKAGE + ".sdk")
@ComponentScan(basePackages = {Constants.BASE_PACKAGE + ".*", "com.xxxtea.mpe"})
public class BirdCampusApplication implements ApplicationRunner {

	public static void main(String[] args) {
		SpringApplication.run(BirdCampusApplication.class, args);
	}

	@Override
	public void run(ApplicationArguments args) {
	}
}
